package org.yh.security;

import org.springframework.security.core.AuthenticationException;

/**
 * @Author: yh
 * @Description:自定义异常
 * @Date: Created in 17:40 2018/12/13
 * @Modified By:
 */
public class MyUsernameNotFoundException extends AuthenticationException {

    private static final long serialVersionUID = 1L;

    public MyUsernameNotFoundException(String msg) {
        super(msg);
    }

    public MyUsernameNotFoundException(String msg, Throwable t) {
        super(msg, t);
    }
}
